#include<iostream>
#include<ctime>
#include<chrono>

int main(){
    
    std::chrono::time_point<std::chrono::system_clock> clock(std::chrono::system_clock::now()+std::chrono::seconds(2));

    

    auto now1 = std::chrono::system_clock::now();
    while(std::chrono::system_clock::now()<clock){

    }
    auto now2 = std::chrono::system_clock::now();
    std::cout<<std::chrono::duration_cast<std::chrono::seconds>(now2-now1).count()<<std::endl;
    return 0;
}